package com.adhere.auth.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * 放行白名单配置
 *
 * @author WT
 * @date 2022/02/09 10:40:25
 */
@Data
@RefreshScope
@Configuration
@ConfigurationProperties(prefix = "jwt")
public class JwtProperties {

    private String tokenHeader;
    private String secret;
    private Long expiration;
    private String tokenPrefix;

}
